/* 主要是对于首页头部、尾部及导航栏等固定不变的地方 */
*{
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-decoration: none;
    box-sizing: border-box;
}
body{
    width: 100%;
}
a{
    text-decoration: none !important;
    color: #000;
}
span{
    text-decoration: none;
}
.container{
    width: 100%;
    border-radius: 20px;
    margin: 0 auto;
    padding: 0;
}
.clear{
    overflow: hidden;
    zoom: 1;
}

/*调整不同屏宽下的单位大小*/
@media screen and (min-width: 768px){
    html{
        font-size: 21px;
    }
}

@media screen and (max-width: 768px){
    html{
        font-size: 18px;
    }
    .container{
        margin-top: 0 !important;
    }
    footer .userlink{
        height: 12.6rem!important;
    }
}

/*修改超小宽度下头部文字大小*/
@media screen and (max-width: 540px){

    #title .title{
        font-size: 1.5rem;
        margin-left: 0.8rem;
    }
    header{
        height: 3.5rem !important;
        padding-top: 0!important;
    }
    header .left>div{
        margin: 0;

    }


    .container #schoolIcon{
        height: 3.5rem;
    }
    .container #schoolIcon img{
        height: 70%;
        margin-top: 4%;
        /*width: 50%;*/
    }

    .container #schoolIcon div:last-child{
        font-size: 1.5rem;
        margin: 0.5rem 0 0.5rem 1.5rem;
        height: 2.5rem;
        line-height: 2.5rem;
    }

    /*修改超小屏幕下，栅格系统的padding值*/
    .reRow{
        padding: 0 0.1rem!important;
    }

    nav .guide_parent .guide .sub{
        position: relative !important;
        top:0!important;
    }
}


@media screen and (max-width: 992px){
    /*调整导航栏的高度，避免挤压轮播图的尺寸*/
    nav .guide,#search{
        display: none;
    }
    .searchbox{
        height: 2rem!important;
        padding: 0!important;
        margin: 0!important;
    }
    .search{
        height: 2rem!important;
        width: 85% !important;
    }
    .searchButton{
        height: 2rem!important;
        width: 15% !important;
    }

    nav .guide_parent{
        display: block !important;
        padding: 0;
    }
    nav{
        height: 2rem;
    }
    .centerbox div div{
        line-height: 2rem!important;
    }
}

@media screen and (min-width: 993px){
    nav{
        height: 2.7rem;
    }
}

/*调整轮播图在超小屏幕（手机）上的高度*/
@media screen and (max-width: 640px){
    #lun{
        height: 12rem;
    }
}

header{
    position: relative;
    background: url("../images/headbgc1.png") no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 6rem;
    padding-top: 1rem;
}

.container header>div{
    width: 95%;
    margin: 0 auto;
    overflow: hidden;
    zoom: 1;
}
#schoolIcon{
    height: 3.7rem;
    display: flex;
}
#schoolIcon div{
    height: 100%;
    display: inline-block;
}
#schoolIcon div img{
    height: 100%;
}
#schoolIcon div:last-child{
    /*display: inline-block;*/
    height: 3.5rem;
    margin: 0.25rem 0 0.25rem 1rem;
    line-height: 3.5rem;
    font-size: 2.4rem;
    font-family: "黑体";
    /*margin-left: 1rem;*/
    padding-left: 1rem;
    border-left: 0.2rem solid #fff;
    /*margin-top: 1rem!important;*/
}
#schoolIcon div:last-child a{
    color: #fff;
}
.shuXian{
    width: 0.1rem;
    height: 2.75rem;
    margin-left: 0.8rem;
    background-color: white;
}
.title{
    /*color: white;*/
    margin-left: 1.7rem;
    font-size: 2rem;
}
.title a{
    color: white;
}

.right{
    display:flex;
    justify-content: flex-end;
}
.right .xiaoXun{
    float: right;
 }

.right .xiaoXun>div{
    padding-left: 1rem;
    display: flex;
}
.right .xiaoXun>div:nth-child(2){
    padding-left: 8rem
}
.right .xiaoXun div div{
    padding-left: 1rem;
    height: 100%;
    font-family: STKaiti;
    font-size: 1.4rem;
    color: #418a43;
    text-shadow: #fff 2px 0 0,#fff 0 2px 0,#fff -2px 0 0,#fff 0 -2px 0;
}

.searchbox{
    padding: 0.25rem 0;
    padding-left: 1rem;
    margin-top: 0.1rem;
    height: 2.5rem;
    width: 100%;
    overflow: hidden;
}
.search{
    /*border-radius: 0.4rem;*/
    /*border: 0;*/
    float: left;
    width: 75%;
    height: 2rem;
    border: 1px solid #5DB727;
    font-size: 1rem;
    text-align: center;
    outline:none;
    background-color: rgb(255, 255, 255,0.6);
}

.searchButton{
    float: left;
    color: #fff;
    /*background-color: #ff9933;*/
    width: 3.5rem;
    height: 2rem;
    line-height: 2rem;
    font-size: 1.1rem;
    background:url(../images/search1.png) center center no-repeat;
    background-size: 100% 100%;
    border: 0;
}




nav{
    padding: 0;
    background-color: #fff!important;
}

nav .guide_parent{
    display: flex;
    justify-content: space-around;
}

nav .guide_parent .guide{
    position: relative;
}
nav .guide_parent .guide>a{
    color: #418D42;
    font-weight: 550;
}
nav .guide_parent .guide .sub{
    position: absolute;
    display: none;
    width: 100%;
    z-index: 2;
}
nav .guide_parent .guide .sub ul li{
    background-color: rgba(0,0,0,.2);
}
nav .guide_parent .guide:hover{
    background-color: rgba(0,0,0,.2);
}
nav .guide_parent .guide:hover .sub{
    display: block;
}


.centerbox div div{
    height: 100%;
    line-height: 2.7rem;
    text-align: center;
    font-size: 1rem;
}

/*移动端下导航栏的样式*/
.centerbox div #guide{
    color: #fff;
    background-color:rgb(93,183,39,0.6);
    display: flex;
    justify-content: space-between
}
.centerbox div #guide span:first-child{
    margin-left:1rem
}
.centerbox div #guide span img{
    height: 1.2rem;
    width: 1.2rem;
    margin-right:1rem;
    margin-top: -0.1rem
}

/* 尾部 */
footer {
    position: relative;
    width: 100%;
    background: url("../images/headbgc1.png") no-repeat;
    background-size: 100% 100%;
  }

footer .userlink{
    width: 95%;
    margin: 0 auto
}
footer div div div a{
    color: #fff;
}

footer .userlink div div div {
    height: 1.4rem;
    color: white;
    line-height: 1.4rem;
    font-size: 0.7rem;
    text-align: center;
}